@font-face{
    font-family: 'WenYue-GuDianMingChaoTi-NC-W5';
    src:url('WenYue-GuDianMingChaoTi-NC-W5.otf') format('opentype');
}

html,body {
    width: 100%;
    height: 100%;
    font-size: 12px;
    background-color: whitesmoke;
}

/* 网络图 */
.graph_container {
    width: 550px;
    height: 550px;
}

#color_by_select{
    position: absolute;
    left: 400px;
    height: 80px;
    visibility: hidden;
}

/* 时间轴 */
.timeline {
    width: 1340px;
    height: 90px;
}

.birthyear_container {
    width: 100%;
    height: 300px;
    float: left;
    border: 1px solid #cbcbcb;
}

.flex_column {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0;
    padding-bottom: 0px;
}

.flex_row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 0;
}

/* 标题 */
h1 {
    text-align: center;
    font-family: 'WenYue-GuDianMingChaoTi-NC-W5';
    font-size: 40px;
    margin: 0;
    /* margin-right: 100px; */
    color: rgb(41, 27, 11);
}

h2 {
    text-align: center;
    font-family: 'WenYue-GuDianMingChaoTi-NC-W5';
    font-size: 15px;
    margin: 0;
    margin-left: 100px;
    color: rgb(41, 27, 11);
}

#question_mark{
    border-radius: 50%;
	width: 15px;
	height: 15px; 
    text-align: center;
    background-color: rgb(202, 202, 187);
    margin-left: 10px;
    font-weight: bolder;
    font-family: sans-serif;
    color: rgb(255, 255, 255);
}

#data_tooltip{
    position: absolute;           
    text-align: left;
    background-color: rgba(250, 250, 250, 1);
    border: 1px solid rgb(200,200,200);
    border-radius:5px;
    font-size:0.4rem;
    width: 30rem;;
    padding:8px;
    color:black;
    z-index: 3;
    visibility: hidden;
    opacity: 1;
}

.flex_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#node_tooltip{
    position: absolute;           
    text-align: left;
    background-color: rgba(250, 250, 250, 1);
    border: 1px solid rgb(200,200,200);
    border-radius:5px;
    font-size:0.4rem;
    width: 15rem;;
    padding:8px;
    color:black;
    z-index: 3;
    visibility: hidden;
    opacity: 0.8;
}

#point_tooltip{
    position: absolute;           
    text-align: center;
    background-color: rgba(250, 250, 250, 1);
    border: 1px solid rgb(200,200,200);
    border-radius:5px;
    font-size:0.4rem;
    width: 12rem;;
    padding:8px;
    color:black;
    z-index: 3;
    visibility: hidden;
    opacity: 0.8;
}

/* tooltip的表格 */
.tooltip td {
    white-space: nowrap;
    text-align:left;
    text-overflow:ellipsis;
    word-break: break-all;
    padding:5px;
}

/* 人物简介 */
.introduction {
    width: 100%;
    height: 220px;
    margin: 0 0 30px 0;
    border: 1px solid #cbcbcb;
}

.outer{
    width: 330px;
    height: 100%;
    margin: 5px auto;
}
.info{
    padding: 2px 18px;
    margin: 0;
    color: #acaaaa;
    font-size: 12px;
}

.info .person_name{
    font-size: 20px;
    font-family: 'WenYue-GuDianMingChaoTi-NC-W5';
    height: 20px;
    padding: 0;
    margin: 0;
    color: #000000;
}

.info .person_name_inline{
    font-family: 'WenYue-GuDianMingChaoTi-NC-W5';
}

.info .line {
    height: 20px;
    color: #000000;
}
 
/* 书信列表 */
.pure-table {
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    border: 1px solid #cbcbcb;
    overflow: hidden;
    width: 350px;
}
 
.pure-table td,.pure-table th {
    border-left: 1px solid #cbcbcb;
    border-width: 0 0 0 1px;
    font-size: inherit;
    margin: 0;
    /* overflow: visible; */
    padding: .3em .5em;
    /* width: 80px; */
    height: 20px;
    position: inherit;
    left: -2px;
}
 
.pure-table thead {
    background-color: #e0e0e0;
    color: #000;
    text-align: center;
    vertical-align: center;
    overflow-x: hidden;
}
 
.pure-table td {
    background-color: transparent;
    text-overflow: ellipsis;
    /* white-space: nowrap;
    overflow: hidden; */
}

.letter_title td{
    text-align: center;
}

#letter_box {
    overflow-y:scroll;
    width: 350px;
    height: 530px;
    position: inherit;
    overflow-x: hidden;
    /* left: -2px; */
}
.element, .outer-container {
  width: 335px;
  height: 550px;
}

.outer-container {
  border: 1px solid #cbcbcb;
  position: relative;
  overflow: hidden;
  left: -5px;
  /* top: 5px; */
}

.inner-container::-webkit-scrollbar {
  display: none;
}